//
//  TatisticsController.m
//  HappyTravel
//
//  Created by Apple on 2018/8/2.
//  Copyright © 2018年 Apple. All rights reserved.
//

#import "TatisticsController.h"

@interface TatisticsController ()


@property(nonatomic, assign)long  utton;
@property(nonatomic, assign)float  selected;

@end

@implementation TatisticsController

-(UIView *)staticsReset:(NSInteger)img eft:(long)eft listSize:(NSInteger)listSize {
     UIImageView * launch = [[UIImageView alloc] initWithFrame:CGRectZero];
     UILabel * lay = [[UILabel alloc] init];
    UIView * belligerentGoodness = [UIView new];
    belligerentGoodness.frame = CGRectMake(196, 316, 0, 0);
    belligerentGoodness.alpha = 0.2;
    belligerentGoodness.backgroundColor = [UIColor colorWithRed:96 / 255.0 green:176 / 255.0 blue:166 / 255.0 alpha:0.5];
    launch.alpha = 1.0;
    launch.backgroundColor = [UIColor colorWithRed:193 / 255.0 green:156 / 255.0 blue:110 / 255.0 alpha:0.3];
    launch.frame = CGRectMake(228, 195, 0, 0);
    launch.contentMode = UIViewContentModeScaleAspectFit;
    launch.animationRepeatCount = 3;
    launch.image = [UIImage imageNamed:@"four"];
    [belligerentGoodness addSubview:launch];
    lay.backgroundColor = [UIColor colorWithRed:53 / 255.0 green:227 / 255.0 blue:159 / 255.0 alpha:0.0];
    lay.alpha = 0.6;
    lay.frame = CGRectMake(201, 82, 0, 0);
    lay.text = nil;
    lay.font = [UIFont systemFontOfSize:15];
    lay.textColor = [UIColor colorWithRed:0 green:0 blue:0 alpha: 0];
    lay.textAlignment = NSTextAlignmentRight;
    [belligerentGoodness addSubview:lay];

    return belligerentGoodness;

}





- (void)viewDidLoad {

         UIView * entail = [self staticsReset:2957 eft:1409 listSize:1016];

      [self.view addSubview: entail];



    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
